package www.meng.com.entity;

import org.beetl.sql.annotation.entity.AutoID;
import org.beetl.sql.annotation.entity.Table;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author : Mr.Yan
 * @program : www.meng.com.entity
 * @create : 2020/10/20
 * @description : 人员pojo
 */
@Table(name = "people")
public class PeopleEntity implements Serializable {

    @AutoID
    private Long pId;

    private String pName;

    private String pAge;

    private Timestamp pBirthday;


    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpAge() {
        return pAge;
    }

    public void setpAge(String pAge) {
        this.pAge = pAge;
    }

    public Timestamp getpBirthday() {
        return pBirthday;
    }

    public void setpBirthday(Timestamp pBirthday) {
        this.pBirthday = pBirthday;
    }

    @Override
    public String toString() {
        return "PeopleEntity{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pAge='" + pAge + '\'' +
                ", pBirthday=" + pBirthday +
                '}';
    }
}
